# coding:utf-8
# 作者：理想国真恵玩
import pandas as pd

df = pd.read_csv('data/stock.csv')

# 按照收盘价降序
df1 = df.sort_values(by='close', ascending=False)
print(df1.head())

# 按照开盘价和收盘价降序
print('-' * 33)
df2 = df.sort_values(by=['open', 'close'], ascending=False)
print(df2)
